<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: include/pico/stdio.h Source File</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.0.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('stdio_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stdio.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stdio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> */</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef _PICO_STDIO_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define _PICO_STDIO_H</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &quot;<a class="code" href="pico_8h.html">pico.h</a>&quot;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">// PICO_CONFIG: PICO_STDOUT_MUTEX, Enable/disable mutex around stdout, type=bool, default=1, group=pico_stdio</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#ifndef PICO_STDOUT_MUTEX</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#define PICO_STDOUT_MUTEX 1</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment">// PICO_CONFIG: PICO_STDIO_ENABLE_CRLF_SUPPORT, Enable/disable CR/LF output conversion support, type=bool, default=1, group=pico_stdio</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#ifndef PICO_STDIO_ENABLE_CRLF_SUPPORT</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#define PICO_STDIO_ENABLE_CRLF_SUPPORT 1</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment">// PICO_CONFIG: PICO_STDIO_DEFAULT_CRLF, Default for CR/LF conversion enabled on all stdio outputs, type=bool, default=1, depends=PICO_STDIO_ENABLE_CRLF_SUPPORT, group=pico_stdio</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#ifndef PICO_STDIO_DEFAULT_CRLF</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#define PICO_STDIO_DEFAULT_CRLF 1</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment">// PICO_CONFIG: PICO_STDIO_STACK_BUFFER_SIZE, Define printf buffer size (on stack)... this is just a working buffer not a max output size, min=0, max=512, default=128, group=pico_stdio</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#ifndef PICO_STDIO_STACK_BUFFER_SIZE</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#define PICO_STDIO_STACK_BUFFER_SIZE 128</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="comment">// PICO_CONFIG: PICO_STDIO_DEADLOCK_TIMEOUT_MS, Time after which to assume stdio_usb is deadlocked by use in IRQ and give up, type=int, default=1000, group=pico_stdio</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor">#ifndef PICO_STDIO_DEADLOCK_TIMEOUT_MS</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor">#define PICO_STDIO_DEADLOCK_TIMEOUT_MS 1000</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="comment">// PICO_CONFIG: PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS, Directly replace common stdio functions such as putchar from the C-library to avoid pulling in lots of c library code for simple output, type=bool, default=1, advanced=true, group=pico_stdio</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">#ifndef PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="preprocessor">#define PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS 1</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structstdio__driver.html">stdio_driver</a> <a class="code hl_struct" href="structstdio__driver.html">stdio_driver_t</a>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="keywordtype">bool</span> <a class="code hl_function" href="group__pico__stdio.html#gace6c31545f212bf181718f4fc7587ea7">stdio_deinit_all</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__stdio.html#ga90927805d6b48285139ab31098623df1">stdio_flush</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga26d27f1b58f1385798f93a9799c40b73">stdio_getchar_timeout_us</a>(uint32_t timeout_us);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="group__pico__stdio.html#ga5d24f1a711eba3e0084b6310f6478c1a">   97</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga5d24f1a711eba3e0084b6310f6478c1a">getchar_timeout_us</a>(uint32_t timeout_us) {</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="group__pico__stdio.html#ga26d27f1b58f1385798f93a9799c40b73">stdio_getchar_timeout_us</a>(timeout_us);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>}</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__stdio.html#ga826d33ec05c3e33dbddf0cb09e329562">stdio_set_driver_enabled</a>(<a class="code hl_struct" href="structstdio__driver.html">stdio_driver_t</a> *driver, <span class="keywordtype">bool</span> enabled);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__stdio.html#gae3944ee24af8163a9538f01cda3e28df">stdio_filter_driver</a>(<a class="code hl_struct" href="structstdio__driver.html">stdio_driver_t</a> *driver);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__stdio.html#gaba86bf2cb6b86a9078cd94dcf47b1915">stdio_set_translate_crlf</a>(<a class="code hl_struct" href="structstdio__driver.html">stdio_driver_t</a> *driver, <span class="keywordtype">bool</span> translate);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga8caa718064b34ce684c02f9f1313ac41">stdio_putchar_raw</a>(<span class="keywordtype">int</span> c);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="group__pico__stdio.html#gae67e6fe5e7c87d6f15816797020245ad">  138</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#gae67e6fe5e7c87d6f15816797020245ad">putchar_raw</a>(<span class="keywordtype">int</span> c) {</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="group__pico__stdio.html#ga8caa718064b34ce684c02f9f1313ac41">stdio_putchar_raw</a>(c);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>}</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#gad00b5fbfdcfd83b79512b402f5881458">stdio_puts_raw</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="group__pico__stdio.html#ga9a78025384cd3ce2095d01e09a2c0565">  150</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga9a78025384cd3ce2095d01e09a2c0565">puts_raw</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s) {</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="group__pico__stdio.html#gad00b5fbfdcfd83b79512b402f5881458">stdio_puts_raw</a>(s);</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>}</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span><span class="keywordtype">void</span> <a class="code hl_function" href="group__pico__stdio.html#ga4b010bf88f65fc5d38a29d5538fa80e1">stdio_set_chars_available_callback</a>(<span class="keywordtype">void</span> (*fn)(<span class="keywordtype">void</span>*), <span class="keywordtype">void</span> *param);</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga7ea974d7cbc7f7e325b4a1b0fe80e4ab">stdio_get_until</a>(<span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> len, <a class="code hl_typedef" href="group__timestamp.html#ga8b7f3d602cc053f05bacceeacc257ed8">absolute_time_t</a> until);</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga2657ebac5e66ff37d0231b2b94dcd87f">stdio_put_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s, <span class="keywordtype">int</span> len, <span class="keywordtype">bool</span> newline, <span class="keywordtype">bool</span> cr_translation);</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#gac135c621fb85b37ba7ca271ad44cc984">stdio_getchar</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga5a0417cd80362b585340991cdbe942ad">stdio_putchar</a>(<span class="keywordtype">int</span>);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#ga37b78b01a1defa869f4b6eae07cbc86e">stdio_puts</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#gaad0147c9744dfa14ffa591007310ad25">stdio_vprintf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list va);</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="group__pico__stdio.html#gae9afcfe3e3db353e1bddd5b87d7be454">  222</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="group__pico__stdio.html#gae9afcfe3e3db353e1bddd5b87d7be454">__printflike</a>(1, 0) stdio_printf(const <span class="keywordtype">char</span>* format, ...);</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>}</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__pico__stdio_html_ga0e604311fb226dae91ff4eb17a19d67a"><div class="ttname"><a href="group__pico__stdio.html#ga0e604311fb226dae91ff4eb17a19d67a">stdio_init_all</a></div><div class="ttdeci">bool stdio_init_all(void)</div><div class="ttdoc">Initialize all of the present standard stdio types that are linked into the binary.</div><div class="ttdef"><b>Definition:</b> stdio.c:200</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga2657ebac5e66ff37d0231b2b94dcd87f"><div class="ttname"><a href="group__pico__stdio.html#ga2657ebac5e66ff37d0231b2b94dcd87f">stdio_put_string</a></div><div class="ttdeci">int stdio_put_string(const char *s, int len, bool newline, bool cr_translation)</div><div class="ttdoc">Prints a buffer to stdout with optional newline and carriage return insertion.</div><div class="ttdef"><b>Definition:</b> stdio.c:92</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga26d27f1b58f1385798f93a9799c40b73"><div class="ttname"><a href="group__pico__stdio.html#ga26d27f1b58f1385798f93a9799c40b73">stdio_getchar_timeout_us</a></div><div class="ttdeci">int stdio_getchar_timeout_us(uint32_t timeout_us)</div><div class="ttdoc">Return a character from stdin if there is one available within a timeout.</div><div class="ttdef"><b>Definition:</b> stdio.c:255</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga37b78b01a1defa869f4b6eae07cbc86e"><div class="ttname"><a href="group__pico__stdio.html#ga37b78b01a1defa869f4b6eae07cbc86e">stdio_puts</a></div><div class="ttdeci">int stdio_puts(const char *s)</div><div class="ttdoc">stdio_getchar Alias for puts that definitely does not go thru the implementation in the standard C li...</div><div class="ttdef"><b>Definition:</b> stdio.c:308</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga4b010bf88f65fc5d38a29d5538fa80e1"><div class="ttname"><a href="group__pico__stdio.html#ga4b010bf88f65fc5d38a29d5538fa80e1">stdio_set_chars_available_callback</a></div><div class="ttdeci">void stdio_set_chars_available_callback(void(*fn)(void *), void *param)</div><div class="ttdoc">get notified when there are input characters available</div><div class="ttdef"><b>Definition:</b> stdio.c:282</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga5a0417cd80362b585340991cdbe942ad"><div class="ttname"><a href="group__pico__stdio.html#ga5a0417cd80362b585340991cdbe942ad">stdio_putchar</a></div><div class="ttdeci">int stdio_putchar(int)</div><div class="ttdoc">stdio_getchar Alias for putchar that definitely does not go thru the implementation in the standard C...</div><div class="ttdef"><b>Definition:</b> stdio.c:302</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga5d24f1a711eba3e0084b6310f6478c1a"><div class="ttname"><a href="group__pico__stdio.html#ga5d24f1a711eba3e0084b6310f6478c1a">getchar_timeout_us</a></div><div class="ttdeci">static int getchar_timeout_us(uint32_t timeout_us)</div><div class="ttdoc">Alias for stdio_getchar_timeout_us for backwards compatibility.</div><div class="ttdef"><b>Definition:</b> stdio.h:97</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga7ea974d7cbc7f7e325b4a1b0fe80e4ab"><div class="ttname"><a href="group__pico__stdio.html#ga7ea974d7cbc7f7e325b4a1b0fe80e4ab">stdio_get_until</a></div><div class="ttdeci">int stdio_get_until(char *buf, int len, absolute_time_t until)</div><div class="ttdoc">Waits until a timeout to reard at least one character into a buffer.</div><div class="ttdef"><b>Definition:</b> stdio.c:116</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga826d33ec05c3e33dbddf0cb09e329562"><div class="ttname"><a href="group__pico__stdio.html#ga826d33ec05c3e33dbddf0cb09e329562">stdio_set_driver_enabled</a></div><div class="ttdeci">void stdio_set_driver_enabled(stdio_driver_t *driver, bool enabled)</div><div class="ttdoc">Adds or removes a driver from the list of active drivers used for input/output.</div><div class="ttdef"><b>Definition:</b> stdio.c:151</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga8caa718064b34ce684c02f9f1313ac41"><div class="ttname"><a href="group__pico__stdio.html#ga8caa718064b34ce684c02f9f1313ac41">stdio_putchar_raw</a></div><div class="ttdeci">int stdio_putchar_raw(int c)</div><div class="ttdoc">putchar variant that skips any CR/LF conversion if enabled</div><div class="ttdef"><b>Definition:</b> stdio.c:138</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga90927805d6b48285139ab31098623df1"><div class="ttname"><a href="group__pico__stdio.html#ga90927805d6b48285139ab31098623df1">stdio_flush</a></div><div class="ttdeci">void stdio_flush(void)</div><div class="ttdoc">Flushes any buffered output.</div><div class="ttdef"><b>Definition:</b> stdio.c:168</div></div>
<div class="ttc" id="agroup__pico__stdio_html_ga9a78025384cd3ce2095d01e09a2c0565"><div class="ttname"><a href="group__pico__stdio.html#ga9a78025384cd3ce2095d01e09a2c0565">puts_raw</a></div><div class="ttdeci">static int puts_raw(const char *s)</div><div class="ttdoc">Alias for stdio_puts_raw for backwards compatibility.</div><div class="ttdef"><b>Definition:</b> stdio.h:150</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gaad0147c9744dfa14ffa591007310ad25"><div class="ttname"><a href="group__pico__stdio.html#gaad0147c9744dfa14ffa591007310ad25">stdio_vprintf</a></div><div class="ttdeci">int stdio_vprintf(const char *format, va_list va)</div><div class="ttdoc">stdio_getchar Alias for vprintf that definitely does not go thru the implementation in the standard C...</div><div class="ttdef"><b>Definition:</b> stdio.c:317</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gaba86bf2cb6b86a9078cd94dcf47b1915"><div class="ttname"><a href="group__pico__stdio.html#gaba86bf2cb6b86a9078cd94dcf47b1915">stdio_set_translate_crlf</a></div><div class="ttdeci">void stdio_set_translate_crlf(stdio_driver_t *driver, bool translate)</div><div class="ttdoc">control conversion of line feeds to carriage return on transmissions</div><div class="ttdef"><b>Definition:</b> stdio.c:267</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gac135c621fb85b37ba7ca271ad44cc984"><div class="ttname"><a href="group__pico__stdio.html#gac135c621fb85b37ba7ca271ad44cc984">stdio_getchar</a></div><div class="ttdeci">int stdio_getchar(void)</div><div class="ttdoc">stdio_getchar Alias for getchar that definitely does not go thru the implementation in the standard C...</div><div class="ttdef"><b>Definition:</b> stdio.c:294</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gace6c31545f212bf181718f4fc7587ea7"><div class="ttname"><a href="group__pico__stdio.html#gace6c31545f212bf181718f4fc7587ea7">stdio_deinit_all</a></div><div class="ttdeci">bool stdio_deinit_all(void)</div><div class="ttdoc">Deinitialize all of the present standard stdio types that are linked into the binary.</div><div class="ttdef"><b>Definition:</b> stdio.c:226</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gad00b5fbfdcfd83b79512b402f5881458"><div class="ttname"><a href="group__pico__stdio.html#gad00b5fbfdcfd83b79512b402f5881458">stdio_puts_raw</a></div><div class="ttdeci">int stdio_puts_raw(const char *s)</div><div class="ttdoc">puts variant that skips any CR/LF conversion if enabled</div><div class="ttdef"><b>Definition:</b> stdio.c:144</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gae3944ee24af8163a9538f01cda3e28df"><div class="ttname"><a href="group__pico__stdio.html#gae3944ee24af8163a9538f01cda3e28df">stdio_filter_driver</a></div><div class="ttdeci">void stdio_filter_driver(stdio_driver_t *driver)</div><div class="ttdoc">Control limiting of output to a single driver.</div><div class="ttdef"><b>Definition:</b> stdio.c:263</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gae67e6fe5e7c87d6f15816797020245ad"><div class="ttname"><a href="group__pico__stdio.html#gae67e6fe5e7c87d6f15816797020245ad">putchar_raw</a></div><div class="ttdeci">static int putchar_raw(int c)</div><div class="ttdoc">Alias for stdio_putchar_raw for backwards compatibility.</div><div class="ttdef"><b>Definition:</b> stdio.h:138</div></div>
<div class="ttc" id="agroup__pico__stdio_html_gae9afcfe3e3db353e1bddd5b87d7be454"><div class="ttname"><a href="group__pico__stdio.html#gae9afcfe3e3db353e1bddd5b87d7be454">__printflike</a></div><div class="ttdeci">int __printflike(1, 0) stdio_printf(const char *format</div><div class="ttdoc">stdio_getchar Alias for printf that definitely does not go thru the implementation in the standard C ...</div></div>
<div class="ttc" id="agroup__timestamp_html_ga8b7f3d602cc053f05bacceeacc257ed8"><div class="ttname"><a href="group__timestamp.html#ga8b7f3d602cc053f05bacceeacc257ed8">absolute_time_t</a></div><div class="ttdeci">uint64_t absolute_time_t</div><div class="ttdoc">An opaque 64 bit timestamp in microseconds.</div><div class="ttdef"><b>Definition:</b> types.h:43</div></div>
<div class="ttc" id="apico_8h_html"><div class="ttname"><a href="pico_8h.html">pico.h</a></div></div>
<div class="ttc" id="astructstdio__driver_html"><div class="ttname"><a href="structstdio__driver.html">stdio_driver</a></div><div class="ttdef"><b>Definition:</b> driver.h:12</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>